package com.photoeditor.demo.model.bean.sub;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Lai on 2019/7/10 0010.
 */
public class SubBannerBean {

    @SerializedName("rootUrl")
    private String mRootUrl;

    @SerializedName("banners")
    private List<BannerBean> mBanners;

    public static class BannerBean {

        @SerializedName("tab")
        private String mTab;

        @SerializedName("banner")
        private String mBanner;

        private int mDefaultBannerResId;
        private int mTextResId;

        public BannerBean(int defaultBannerResId, int textResId) {
            mDefaultBannerResId = defaultBannerResId;
            mTextResId = textResId;
        }

        public String getTab() {
            return mTab;
        }

        public void setTab(String tab) {
            mTab = tab;
        }

        public String getBanner() {
            return mBanner;
        }

        public void setBanner(String banner) {
            mBanner = banner;
        }

        public int getDefaultBannerResId() {
            return mDefaultBannerResId;
        }

        public void setDefaultBannerResId(int defaultBannerResId) {
            mDefaultBannerResId = defaultBannerResId;
        }

        public int getTextResId() {
            return mTextResId;
        }

        public void setTextResId(int textResId) {
            mTextResId = textResId;
        }
    }

    public String getRootUrl() {
        return mRootUrl;
    }

    public void setRootUrl(String rootUrl) {
        mRootUrl = rootUrl;
    }

    public List<BannerBean> getBanners() {
        return mBanners;
    }

    public void setBanners(List<BannerBean> banners) {
        mBanners = banners;
    }
}
